<%@ page language="java" contentType="text/html; charset=UTF-8" trimDirectiveWhitespaces="true"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<c:set var="contextPath" value="${pageContext.request.contextPath}"/>
<div class="pageContent">
<form method="post" action="${contextPath }/management/orders/customerorder/update" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadNavTab);">
	<input type="hidden" name="id" value="${customerOrder.id}"/>
	<div class="pageFormContent" layoutH="58">
	<p>
		<label>订单号码：</label>
		<input type="text" name="orderno" size="32" maxlength="20" value="${customerOrder.orderno}" class="required validate[required]"/>
	</p>
	<p>
		<label>客户名称：</label>
		<input type="text" name="kehu" size="32" maxlength="20" value="${customerOrder.kehu}" class="required validate[required]"/>
	</p>
	<p>
		<label>料号：</label>
		<input type="text" name="liaohao" size="32" maxlength="20" value="${customerOrder.liaohao}" class="required validate[required]"/>
	</p>
	<p>
		<label>产品名称：</label>
		<input type="text" name="mingcheng" size="32" maxlength="20" value="${customerOrder.mingcheng}" class="required validate[required]"/>
	</p>
	<p>
		<label>产品规格：</label>
		<input type="text" name="guige" size="32" maxlength="20" value="${customerOrder.guige}" class="required validate[required]"/>
	</p>
	<p>
		<label>订单数量：</label>
		<input type="text" name="total" size="32" maxlength="10" value="${customerOrder.total}" class="required validate[required]"/>
	</p>
	<p>
		<label>实际交货数量：</label>
		<input type="text" name="already" size="32" maxlength="10" value="${customerOrder.already}" class="required validate[required]"/>
	</p>
	<p>
		<label>订单日期：</label>
		<input type="text" name="ordertime" class="date validate[required]" readonly="readonly" style="float:left;" value="<fmt:formatDate value="${customerOrder.ordertime}" pattern="yyyy-MM-dd HH:mm:ss"/>"/>
		<a class="inputDateButton" href="javascript:;" style="float:left;">选择</a>
	</p>
	<p>
		<label>交货日期：</label>
		<input type="text" name="deliverydate" class="date validate[required]" readonly="readonly" style="float:left;" value="<fmt:formatDate value="${customerOrder.deliverydate}" pattern="yyyy-MM-dd HH:mm:ss"/>"/>
		<a class="inputDateButton" href="javascript:;" style="float:left;">选择</a>
	</p>
	<p>
		<label>实际出货日期：</label>
		<input type="text" name="acturldate" class="date" readonly="readonly" style="float:left;" value="<fmt:formatDate value="${customerOrder.acturldate}" pattern="yyyy-MM-dd HH:mm:ss"/>"/>
		<a class="inputDateButton" href="javascript:;" style="float:left;">选择</a>
	</p>
	<p>
		<label>备注：</label>
		<input type="text" name="remark" size="32" maxlength="65535" value="${customerOrder.remark}" />
	</p>
	</div>
	
	<div class="formBar">
		<ul>
			<li><div class="button"><div class="buttonContent"><button type="submit">确定</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
</form>
</div>